Skip to content

Conversation

@bergundy
Copy link
Member

@bergundy bergundy commented Mar 1, 2021

Note that the CI does not run integration tests yet.
The tests pass on my laptop.
I have another PR (#15) which is supposed to make them run but I'm having some trouble waiting for the Temporal server to start.

@bergundy bergundy requested a review from Sushisource March 1, 2021 18:06
Copy link
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Glad this came together as expected.

}
}

fn worker_shutdown(mut cx: FunctionContext) -> JsResult<JsUndefined> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't need to be this PR but you'll probably want to have some mechanism to drain any remaining activations from poll_task until it returns CoreError::ShuttingDown. Remaining activations may exist due to replaying a workflow to catch up to the end of history which was already fetched from the server

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a really good point (see #19).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants